<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>订单修改 </title>

    <!-- ================= Favicon ================== -->
    <!-- Standard -->
    <link rel="shortcut icon" href="http://placehold.it/64.png/000/fff">
    <!-- Retina iPad Touch Icon-->
    <link rel="apple-touch-icon" sizes="144x144" href="http://placehold.it/144.png/000/fff">
    <!-- Retina iPhone Touch Icon-->
    <link rel="apple-touch-icon" sizes="114x114" href="http://placehold.it/114.png/000/fff">
    <!-- Standard iPad Touch Icon-->
    <link rel="apple-touch-icon" sizes="72x72" href="http://placehold.it/72.png/000/fff">
    <!-- Standard iPhone Touch Icon-->
    <link rel="apple-touch-icon" sizes="57x57" href="http://placehold.it/57.png/000/fff">

    <!-- Styles -->
    <link href="__ADMIN_OTHER__/fontAwesome/css/fontawesome-all.min.css" rel="stylesheet">
    <link href="__ADMIN_CSS__/lib/themify-icons.css" rel="stylesheet">
    <link href="__ADMIN_CSS__/lib/mmc-chat.css" rel="stylesheet" />
    <link href="__ADMIN_CSS__/lib/sidebar.css" rel="stylesheet">
    <link href="__ADMIN_CSS__/lib/bootstrap.min.css" rel="stylesheet">
    <link href="__ADMIN_CSS__/lib/nixon.css" rel="stylesheet">
    <link href="__ADMIN_CSS__/style.css" rel="stylesheet">
</head>

<body>

{include file="public/menu"}
<!-- /# sidebar -->
{include file="public/header"}

<div class="content-wrap">
    <div class="main">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-8 p-0">
                    <div class="page-header">
                        <div class="page-title">
                            <h1></h1>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4 p-0">
                    <div class="page-header">
                        <div class="page-title">
                            <ol class="breadcrumb text-right">
                                <li><a>活动订单列表</a></li>
                                <li class="active">订单更新</li>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
            <div class="main-content">
                <form action="/admin/editActiveOrder" method="post" id="topform">
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="card alert">
                                <div class="card-header">
                                    <h4>订单更新</h4>
                                </div>
                                <div class="card-body">
                                    <div class="basic-form">
                                        <input type="hidden" name="id" value="{$rs.id}">
                                        <div class="form-group">
                                            <label>订单号</label>
                                            <input type="text" name="name" id="name" class="form-control" value="{$rs.order}" disabled="disabled">
                                        </div>
                                        <div class="form-group">
                                            <label>用户id</label>
                                            <input type="text" name="num" id="num" class="form-control" value="{$rs.user_id}" disabled="disabled">
                                        </div>
                                        <div class="form-group">
                                            <label>活动信息</label>
                                            <table class="table table-responsive table-bordered" >
                                                <tr>
                                                    <td>活动名称</td>
                                                    <td style="text-align: left;">{$rs.info.active.name}</td>
                                                </tr>
                                                <tr>
                                                    <td>图片</td>
                                                    <td style="text-align: left;">
                                                        <img style="width: 200px;" src="{$rs.info.active.img}">
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>视频链接</td>
                                                    <td style="text-align: left;">
                                                        {$rs.info.active.video}
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div class="form-group">
                                            <label>场地信息</label>
                                            <table class="table table-responsive table-bordered">
                                                <tr>
                                                    <td>场地名称</td>
                                                    <td style="text-align: left;">{$rs.info.selected.title}</td>
                                                </tr>
                                                <tr>
                                                    <td>图片</td>
                                                    <td style="text-align: left;">
                                                        <img style="width: 200px;" src="https://bjxlxd.com/public{$rs.info.selected.image}">
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>视频链接</td>
                                                    <td style="text-align: left;">
                                                       {$rs.info.selected.vo_vedio}
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div class="form-group">
                                            <label>核算价格</label>
                                            <input type="number" name="price" class="form-control" value="{$rs.price}">
                                        </div>
                                        <div class="form-group">
                                            <label>备注</label>
                                            <textarea type="text" rows="5" name="mark" class="form-control"  placeholder="在后台作重要记录，前台无法看到">{$rs.mark}</textarea>
                                        </div>
                                        <div class="form-group">
                                            <label>是否展示</label>
                                            <select class="form-control" name="status" id="status">
                                                {switch name="rs.status"}
                                                {case value="0"}
                                                <option value="0" selected="selected">待核算</option>
                                                {/case}
                                                {case value="1"}
                                                <option value="1" selected="selected">未付款</option>
                                                {/case}
                                                {case value="2"}
                                                <option value="2" selected="selected">已付款</option>
                                                {/case}
                                                {/switch}
                                                <option value="0">待核算</option>
                                                <option value="1">未付款</option>
                                                <option value="2">已付款</option>
                                            </select>
                                        </div>
                                        <button type="submit" class="btn btn-success m-b-10 m-l-5">修改</button>
                                    </div>
                                </div>
                            </div>
                        </div><!-- /# column -->
                    </div><!-- /# row -->
                </form>
            </div><!-- /# container-fluid -->
        </div><!-- /# main -->
    </div><!-- /# content wrap -->
</div>

<script src="__ADMIN_JS__/lib/jquery.min.js"></script><!-- jquery vendor -->
<script src="__ADMIN_JS__/lib/jquery.nanoscroller.min.js"></script><!-- nano scroller -->
<script src="__ADMIN_JS__/lib/sidebar.js"></script><!-- sidebar -->
<script src="__ADMIN_JS__/lib/bootstrap.min.js"></script><!-- bootstrap -->
<script src="__ADMIN_JS__/lib/mmc-common.js"></script>
<script src="__ADMIN_JS__/lib/mmc-chat.js"></script>
<script src="__ADMIN_LAYER__/layer.js"></script><!-- scripit init-->
</body>
</html>